package de.homelabs.moonrat.page;

import de.homelabs.moonrat.metadata.MoonratPageMetaData;

public class MoonratContentSection {

	private StringBuffer content;
	private int contentOrder = 0;
	private MoonratPageMetaData metaData;
	
	/**
	 * default constructor
	 */
	public MoonratContentSection(){}
	
	/**
	 * constructor
	 * @param StringBuffer content
	 * @param int contentOrder
	 */
	public MoonratContentSection(StringBuffer content, int contentOrder, MoonratPageMetaData pageMetaData) {
		this.content = content;
		this.contentOrder = contentOrder;
		this.metaData = pageMetaData;
	}
	
	public StringBuffer getContent() {
		return content;
	}
	public void setContent(StringBuffer content) {
		this.content = content;
	}
	public int getContentOrder() {
		return contentOrder;
	}
	public void setContentOrder(int contentOrder) {
		this.contentOrder = contentOrder;
	}

	public MoonratPageMetaData getMetaData() {
		return metaData;
	}

	public void setMetaData(MoonratPageMetaData metaData) {
		this.metaData = metaData;
	}
}
